@extends('layouts.back_stage')
@section('script')
@parent
<script type="text/javascript" src="{{env('CDN_DOMAIN_NAME')}}/js/webuploader.js"></script>
@endsection
@section('style')
@parent
<link rel="stylesheet" type="text/css" href="{{env('CDN_DOMAIN_NAME')}}/css/webuploader.css">
<link rel="stylesheet" type="text/css" href="{{env('CDN_DOMAIN_NAME')}}/css/add.css"/>
@endsection
@section('content')
    <div class="container">
        <div class="row">
            <div class="main_pic main_com ">
            <h3>添加生产商品的封面图</h3>
            <div class="iconfont icon-jiantouyou arrows bus-upload-img">选择图片</div>
            </div>
            <div class="main_img">
                @if(!is_null($face))
                    <li id="WU_FILE_0" class="file-item thumbnail">
                        <img class="delete-img" src="{{env('CDN_DOMAIN_NAME')}}/upload/{{$face}}">
                    </li>
                @endif
            </div>
            <input type="hidden" class="pro_id" value="{{ $pro_id }}">
        </div>
        <a href="/production" class='btn btn-success' >确定提交</a>
    </div>
    @include('errors.list')
    <script src="{{env('CDN_DOMAIN_NAME')}}/js/addpro.js"></script>
@endsection